package com.ruoyi.web.domain.user.vo;


import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 角色表 sys_role
 * 
 * @author guji
 */
public class RegisterVo
{

    @ApiModelProperty(value = "昵称", hidden = true)
    private String nickName;

    @ApiModelProperty(value = "用户头像", hidden = true)
    private String photo;

    @ApiModelProperty(value = "微信code",  required = true)
    private String code;

    @ApiModelProperty(value = "用户手机号",  required = true)
    private String phone;

    @ApiModelProperty(value = "注册时间",  required = false, hidden = true)
    private Date createTime = new Date();

    @ApiModelProperty(value = "openId",  required = false, hidden = true)
    private String openId;

    @ApiModelProperty(value = "uid",  required = false, hidden = true)
    private Long uid;

    @ApiModelProperty(value = "默认1是接口,2是内部")
    private Integer type = 1;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

}
